import request from '@/utils/request'

// 查询健康计划列表
export function listRing_health_plan(query) {
  return request({
    url: '/ring/ring_health_plan/list',
    method: 'get',
    params: query
  })
}

// 查询健康计划详细
export function getRing_health_plan(id) {
  return request({
    url: '/ring/ring_health_plan/' + id,
    method: 'get'
  })
}

// 新增健康计划
export function addRing_health_plan(data) {
  return request({
    url: '/ring/ring_health_plan',
    method: 'post',
    data: data
  })
}

// 修改健康计划
export function updateRing_health_plan(data) {
  return request({
    url: '/ring/ring_health_plan',
    method: 'put',
    data: data
  })
}

// 删除健康计划
export function delRing_health_plan(id) {
  return request({
    url: '/ring/ring_health_plan/' + id,
    method: 'delete'
  })
}
